<template>
	<view class="">
		<view class="noMore">
			<image :src="src" mode="widthFix" class="no-data" />
			<view class="">{{ title }}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"no-data",
		props: {
			src: {
				type: String,
				default: '/static/none-order.png'
			},
			title: {
				type: String,
				default: '暂无数据'
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.noMore {
		font-size: 27rpx;
		line-height: 1;
		padding: 30% 0;
	}
	.no-data {
		width: 450rpx;
		height: 450rpx;
	}
</style>